#region head comment
/*
Code generate by YhdSdkTool.
email:starpeng@vip.qq.com
2012-06-27 13:22:48:110 +08:00
*/
#endregion

using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace YhdSdk.Domain.Order
{
    /// <summary>
    /// 发票
    /// </summary>
    [Serializable]
    public class Invoice : YhdObject
    {
        /// <summary>
        /// 订单编码
        /// </summary>
        [XmlElement("orderCode")]
        public String OrderCode
        {
            get;
            set;
        }

        /// <summary>
        /// 发票内容
        /// </summary>
        [XmlArray("invoiceContents")]
        [XmlArrayItem("string")]
        public List<String> InvoiceContents
        {
            get;
            set;
        }

        /// <summary>
        /// 发票金额
        /// </summary>
        [XmlArray("detailAmounts")]
        [XmlArrayItem("double")]
        public List<Double> DetailAmounts
        {
            get;
            set;
        }

        /// <summary>
        /// 发票抬头（多个抬头用 / 来分隔）
        /// </summary>
        [XmlElement("invoiceTitle")]
        public String InvoiceTitle
        {
            get;
            set;
        }

    }
}
